home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 March
/
PCWorld_2002-03_cd.bin
/
Software
/
TemaCD
/
xteq
/
setup.exe
/
{app}
/
plugins
/
XQ MGA G400 1.xpl
< prev
next >
Wrap
Text File
|
2001-05-15
|
2KB
|
107 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="5"
"UIPATH"="Hardware\Video Cards\Matrox\G400"
"NAME"="General Settings"
"VERSION"="1.04"
"OSVERSION"="10100"
"LANGUAGE"="VBScript"
"TEXT 1"="Enable Anisotropic filtering"
"TEXT 2"="Enable Bump Mapping"
"TEXT 3"="Enable Palettized Textures"
"TEXT 4"="Enable triple buffering"
"TEXT 5"="Enable VSync"
'''"TEXT 4"="Enable Subpixel Accuracy"
"DESCRIPTION 1"="Some options for your Matrix G400 3D card."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="Thanks to CptSiskoX!"
'sPC="HKLM\SOFTWARE\NVIDIA Corporation\Riva TNT\"
'All STR
sV1="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Settings\DirectX\Anisotropic"
sV2="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Settings\DirectX\BumpFiltering"
sV3="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Settings\DirectX\PalettizedTextures"
sV4="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Settings\DirectX\UseTripleBuffering"
sV5="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Display\0000\Settings\DirectX\FlipOnVblank"
''sV4="D3DRendering"
Sub Plugin_Initialize
i=RegReadValue(sV1)
if i=1 then SetUiElement 1,true
i=RegReadValue(sV2)
if i=1 then SetUiElement 2,true
i=RegReadValue(sV3)
if i=1 then SetUiElement 3,true
i=RegReadValue(sV4)
if i=1 then SetUiElement 4,true
i=RegReadValue(sV5)
if i=1 then SetUiElement 5,true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
i=1
else
i=0
end if
Call RegWriteValue(sV1,i,2)
b=GetUIElement(2)
if b=true then
i=1
else
i=0
end if
Call RegWriteValue(sV2,i,2)
b=GetUIElement(3)
if b=true then
i=1
else
i=0
end if
Call RegWriteValue(sV3,i,2)
b=GetUIElement(4)
if b=true then
i=1
else
i=0
end if
Call RegWriteValue(sV4,i,2)
b=GetUIElement(5)
if b=true then
i=1
else
i=0
end if
Call RegWriteValue(sV5,i,2)
Call Restart()
End Sub
Sub Plugin_Terminate
End Sub